
	<div>
			<div  style="border:0px solid #ccc; margin-bottom:3px;">
            <?php 
				
					if($news->num_rows() >0){
					 foreach($news->result() as $row){
						 $news_img = array(
						  'src' => 'news/uploads/'.$row->page_img,
						  'alt' => $row->page_title,
						  'class' => 'news_img',
						  'title' => $row->page_title,
						  'rel' => 'lightbox',
							);
					echo '<a href="'.site_url('pages/news_detail').'/'.$row->page_id.'">'.img($news_img).'</a>'; 
			?>
            	
                <h4><a href="<?php echo site_url('pages/news_detail'); ?>/<?php echo $row->page_id; ?>" ><?php echo $row->page_title; ?></a></h4>
                <p style="margin-top:0px;"><?php echo substr($row->page_text,0,250); ?>...<a href="<?php echo site_url('pages/news_detail'); ?>/<?php echo $row->page_id; ?>">អានបន្ត </a></p>
				<div class="cleaner">&nbsp;</div>
				<p>&nbsp; &nbsp;Posted by: <a href="#"><?php echo $this->session->userdata('name'); ?></a>,<?php echo date('d-m-y'); ?> |<a href="<?php echo site_url('pages/news_detail'); ?>/<?php echo $row->page_id; ?>">បញ្ចេញមតិ</a>|</p>
                <hr class="news_hr" noshade="noshade" />
                <?php
					 }
				}
			 ?>
             
            </div>
           
     </div>
			